<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../jquery-3.4.1.js"></script>
    <style>

    .box{
        position: relative;
        position: fixed;
        right: 0;
        top:50px;
        width:300px;
        height: 400px;
        background: url("img/sidead.png");
        background-size: 300px 400px;
        display: none;
    }
    span{
        display: inline-block;
        width: 25px;
        height: 25px;
        background:url("img/close.png");
        background-size: 25px 25px;
        position: absolute;
        right: 0px;
        top:3px;
    }
    </style>
</head>
<body>
    <div class="box"><span class="close"></span></div>
</body>
<script>
    $(()=>{
        $(".box").show(1000);
        $(".close").click(function(){
            $(this).parent().hide(1000);
        })
        
    })
</script>
</html>